<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%><%@ include file="/include.inc.jsp"%>

<script type="text/javascript">
function dialogAjax(json){
                         alert("asd");
        $.pdialog.reloadDialog("triggerList");
}
</script>


<div class="pageContent" style="border-left:1px #B8D0D6 solid;border-right:1px #B8D0D6 solid">


    <div class="panelBar">
        <ul class="toolBar">

            <li><a class="delete" href="/admin/getSystemCfg!delSystemCfg?resources.id=${resources.id}" target="ajaxTodo" title="确定要删除吗?"fresh="true"><span>删除</span></a></li>
            <li class="line">line</li>
            <li><a class="delete" href="/admin/getSystemCfg!delSystemCfg?resources.id=${resources.id}" target="ajaxTodo" title="确定要删除整个目录（包括主目录）吗?<br>由于功能太逆天，请慎用！！！"fresh="true"><span>删除这个目录</span></a></li>
            <li class="line">line</li>
            <li><a class="edit" href="/admin/getSystemCfg!addresources?resources.id=${resources.id}" target="dialog"   fresh="true"><span>修改</span></a></li>

        </ul>
    </div>
    <div class="pageFormContent" layoutH="58">

        <div class="unit">
            <label>菜单名字：</label>
                          ${resources.resName}
        </div>
        <div class="unit">
            <label>菜单链接：</label>
            ${resources.resUrl}
        </div>

        <div class="unit">
            <label>唯一标识：</label>
            ${resources.sort}
        </div>
        <div class="unit">
            <label>父&nbsp;&nbsp;菜&nbsp;&nbsp;单：</label>
            <c:choose>
                <c:when test="${resources.parentId==0}">
                    父菜单
                </c:when>
                <c:otherwise>
                    子菜单
                </c:otherwise>
            </c:choose>
        </div>



    </div>
</div>